package com.jfeat.am.module.wegou.services.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2018-02-27
 */
@TableName("wg_product_store")
public class ProductStore extends Model<ProductStore> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * logo
     */
	private String logo;
    /**
     * 封面
     */
	private String cover;
    /**
     * 推送图片
     */
	@TableField("push_photo")
	private String pushPhoto;
    /**
     * 日文名称
     */
	@TableField("store_name")
	private String storeName;
    /**
     * 中文名称
     */
	@TableField("zh_store_name")
	private String zhStoreName;
    /**
     * 详情
     */
	private String details;
    /**
     * 中文详情
     */
	@TableField("zh_details")
	private String zhDetails;
    /**
     * 排序号
     */
	@TableField("sort_number")
	private Integer sortNumber;
    /**
     * 状态
     */
	private String status;
    /**
     * 联系电话
     */
	@TableField("connect_phone")
	private String connectPhone;
    /**
     * 地址
     */
	private String address;
    /**
     * 中文地址
     */
	@TableField("zh_address")
	private String zhAddress;
    /**
     * 登录获取的 User ID
     */
	@TableField("user_id")
	private Long userId;
    /**
     * 是否锁定
     */
	private Integer locked;
    /**
     * 店铺类型：RESTAURANT，CANTEEN
     */
	@TableField("store_type")
	private String storeType;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public String getPushPhoto() {
		return pushPhoto;
	}

	public void setPushPhoto(String pushPhoto) {
		this.pushPhoto = pushPhoto;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getZhStoreName() {
		return zhStoreName;
	}

	public void setZhStoreName(String zhStoreName) {
		this.zhStoreName = zhStoreName;
	}

	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}

	public String getZhDetails() {
		return zhDetails;
	}

	public void setZhDetails(String zhDetails) {
		this.zhDetails = zhDetails;
	}

	public Integer getSortNumber() {
		return sortNumber;
	}

	public void setSortNumber(Integer sortNumber) {
		this.sortNumber = sortNumber;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getConnectPhone() {
		return connectPhone;
	}

	public void setConnectPhone(String connectPhone) {
		this.connectPhone = connectPhone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getZhAddress() {
		return zhAddress;
	}

	public void setZhAddress(String zhAddress) {
		this.zhAddress = zhAddress;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getLocked() {
		return locked;
	}

	public void setLocked(Integer locked) {
		this.locked = locked;
	}

	public String getStoreType() {
		return storeType;
	}

	public void setStoreType(String storeType) {
		this.storeType = storeType;
	}

	public static final String ID = "id";

	public static final String LOGO = "logo";

	public static final String COVER = "cover";

	public static final String PUSH_PHOTO = "push_photo";

	public static final String STORE_NAME = "store_name";

	public static final String ZH_STORE_NAME = "zh_store_name";

	public static final String DETAILS = "details";

	public static final String ZH_DETAILS = "zh_details";

	public static final String SORT_NUMBER = "sort_number";

	public static final String STATUS = "status";

	public static final String CONNECT_PHONE = "connect_phone";

	public static final String ADDRESS = "address";

	public static final String ZH_ADDRESS = "zh_address";

	public static final String USER_ID = "user_id";

	public static final String LOCKED = "locked";

	public static final String STORE_TYPE = "store_type";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ProductStore{" +
			"id=" + id +
			", logo=" + logo +
			", cover=" + cover +
			", pushPhoto=" + pushPhoto +
			", storeName=" + storeName +
			", zhStoreName=" + zhStoreName +
			", details=" + details +
			", zhDetails=" + zhDetails +
			", sortNumber=" + sortNumber +
			", status=" + status +
			", connectPhone=" + connectPhone +
			", address=" + address +
			", zhAddress=" + zhAddress +
			", userId=" + userId +
			", locked=" + locked +
			", storeType=" + storeType +
			"}";
	}
}
